/**
 * Pawn's cursor attachment class
 * Uses for select box and aim box
 */
class UFOD_MovableSMActor extends DynamicSMActor
	notplaceable;

//=============================================================================
// Functions
//=============================================================================
function AddObject(StaticMesh aNewStaticMesh, optional MaterialInterface aNewMaterial)
{
	StaticMeshComponent.SetStaticMesh(aNewStaticMesh);
	CollisionComponent=StaticMeshComponent;
	if (aNewMaterial != none) StaticMeshComponent.SetMaterial(0, aNewMaterial);
}

//=============================================================================
// Default properties
//=============================================================================
DefaultProperties
{
	Components.Remove(MyLightEnvironment)

	Rotation=(Pitch=0, Yaw=0, Roll=0)

	bNoEncroachCheck=FALSE

	//CollisionType=COLLIDE_BlockAll
	CollisionType=COLLIDE_noCollision
	bCollideActors=FALSE

	bBlockActors=FALSE
	BlockRigidBody = FALSE

	bAlwaysTick = false
	TickGroup=TG_PostAsyncWork

	bStatic=FALSE
	bNoDelete=FALSE

	bCollideWorld = FALSE
}
